<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>行与列合并</title>
</head>
<body>
<table border="1px" cellpadding="1px" cellspacing="1px" width="10%">
    <tr>
        <td colspan="3">学生成绩</td>
    </tr>
    <tr>
        <td rowspan="2">张三</td>
        <td>语文</td>
        <td>98</td>
    </tr>
    <tr>
        <td>数学</td>
        <td>95</td>
    </tr>
    <tr>
        <td rowspan="2">李四</td>
        <td>语文</td>
        <td>88</td>
    </tr>
    <tr>
        <td>数学</td>
        <td>91</td>
    </tr>
</table>
</body>
</html>